package com.trkj.dao.jpa;

import java.util.List;

import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.CrudRepository;

import com.trkj.pojos.VisitTable;

public interface IVisitTableDao extends CrudRepository<VisitTable, String> {
	
	/**
	 * 模糊查询当日探望号
	 * @param LikeID
	 * @return
	 */
	@Query("select V.visitid from VisitTable V "
			+ "where V.visitid like ?1")
	public List<String> queryVisitorID(String LikeID);

}
